import request from '@/utils/request'
/* 查询巡检计划分页列表 */
export function getInspectionPlanAppPage(query) {
  return request({
    url: '/device/inspection-plan/app-page',
    method: 'GET',
		params: query
  })
}

/* 获得移动端巡检计划与设备关联分页 */
export function getInspectionPlanDeviceAppPage(query) {
  return request({
    url: '/device/inspection-plan-device/app-page',
    method: 'GET',
		params: query
  })
}

/* 获得移动端巡检/点检记录明细列表 */
export function getAppInspectionRecordInfoList(query) {
  return request({
    url: '/device/inspection-record-info/app-list',
    method: 'GET',
		params: query
  })
}


// 更新巡检/点检记录明细
export function updateInspectionRecordInfo(data) {
  return request({
    url: '/device/inspection-record-info/update',
    method: 'put',
    data: data
  })
}